package service

var ClientInfo = map[string]string{
	"liulingjie": "123456",
	"liu0":       "123456",
	"liu1":       "123456",
	"liu2":       "123456",
	"liu3":       "123456",
	"liu4":       "123456",
	"liu5":       "123456",
	"liu6":       "123456",
	"liu7":       "123456",
	"liu8":       "123456",
	"liu9":       "123456",
}

/**
 * @Description:   判断用户口令是否正确，此处业务逻辑自定义
 * @param username
 * @param password
 * @return bool
 */
func AuthUser(username, password string) bool {
	if ClientInfo[username] == password {
		return true
	}
	return false
}
